An SGML-based programming environment for literate programming

نویسنده

  • Daniel M. Germán
چکیده

8 it to compile it afterwards. However, programs are text, so they can beneet from recent results in document research. We propose a new underlying structure for literate programs, based on SGML. As a result , we will use SGML tools to view and modify literate programs. These tools will isolate programmers from the low level structure of literate programs. Moreover, literate programming can be easily extended to use other types of information such as Z formal speciications, and in fact, literate programs could include any type of digital information.terloo. His current interests are in the area of software engineering, in particular software development environments and the application of text databases research to software repositories. 7 Z fragments do not include other fragments. Therefore, it is only necessary to extract all Z fragments and reorder them according to their numeric tag. During both \tangling" processes all macro usages are expanded and all SGML tags are removed. The nal result is a text le that can be processed by a compiler or checker. 3.4 Editing SGML literate programs ASCII text with embedded SGML is hard to read, and thus editing will be a cumbersome and unpleasant task. Remembering the speciic tag set for segments of text or code, and placing the tags to ensure a syntactically correct document will also create problems. In addition , if the tagged document is edited with a text editor, then all the visualization information that can be generated from the tags will not be present. Syntax-directed editors such as Rita 2], the SoftQuad Author/Editor 12] and editors produced by the Cornell Synthesizer 9] could be used to address some of these issues. For example, Rita uses a form of DTD and style sheets to support editing of SGML tagged text. At any point in the document this editor will prompt the user with a list of syntactically acceptable tags. The tags are also separated from the text so the program looks quite \natu-ral". In addition, the style-sheet can be used to maintain much of the visualization information which is critical to the understanding of the literate program. Another approach to editing is used by the Waterloo Database Browser 16]. It exports a section of an SGML document to a WordPerfect 2 le, and then formats the output text according to a WordPerfect style-sheet for the document. Then, the user uses the word processor as an …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

SGML - Lite { An SGML - based Programming Environment

Literate Programming is a documentation method that attempts to maintain consistency among the various design and program documents of a software system. Unfortunately the majority of the literate programming tools do not have appropriate user interfaces and require the users to learn complicated and cryptic tagging languages. SGML is a metalanguage used to specify markup or tagging languages t...

متن کامل

An Elucidative Programming Environment for Scheme (Incomplete Draft)

In this paper we describe a programming environment for Scheme that supports elucidative programming. Scheme is a programming language in the Lisp family. Elucidative programming is a variant of literate programming. Literate programming represents the idea of structuring the program as fragments that are contained in an essay that documents the program understanding. Elucidative programming is...

متن کامل

A Compromise Decision-Making Model Based on TOPSIS and VIKOR for Multi-Objective Large- Scale Nonlinear Programming Problems with A Block Angular Structure under Fuzzy Environment

This paper proposes a compromise model, based on a new method, to solve the multiobjectivelarge scale linear programming (MOLSLP) problems with block angular structureinvolving fuzzy parameters. The problem involves fuzzy parameters in the objectivefunctions and constraints. In this compromise programming method, two concepts areconsidered simultaneously. First of them is that the optimal alter...

متن کامل

A Robust credibility-based fuzzy programming for supply chain optimization in lean manufacturing environment

Lean manufacturing is a strategic concern for companies which conduct mass production and it has become even more significant for those producing in a project-oriented way by modularization.  In this paper, a bi-objective optimization model is proposed to design and plan a supply chain up to the final assembly centre. The delivery time and the quality in the procurement and low fluctuation of t...

متن کامل

Literate Programming, Why?

Knuth's WEB system for literate programming has slowly built a signi cant following. Systems now exist for most common high level languages. I will give an overview of literate programming and a biased view of its status including: 1. an annotated bibliography of available WEB systems, 2. elementary software metrics that may be used in evaluating codes, 3. an indication of the using (practicing...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994